package.path = package.path .. ";./scripts/?.lua"

-- require 'tests.threads'

print "LUA TEST :: begin"

require 'cppclasses'

Irrlicht = class.new()

Irrlicht:bindMember("__construct",  IrrlichtInterface_construct   )
Irrlicht:bindMember("isRunning",    IrrlichtInterface_isRunning   )
Irrlicht:bindMember("tempLoopBody", IrrlichtInterface_tempLoopBody)

irrlicht = Irrlicht(400, 240)

while irrlicht:isRunning() do
    irrlicht:tempLoopBody()
    print ("forks")
end

print "LUA TEST :: end"
